package com.xiaoge.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xiaoge.entity.User;
import com.xiaoge.vo.UserVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author XiaoGe
 * @since 2022-05-28
 */
public interface UserMapper extends BaseMapper<User> {

    List<User> getUserList(@Param("page") Page<User> page, @Param("userVO") UserVO userVO);


    User getUserByUsername(@Param("username") String username);
}
